// Copyright 2018 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'dart:ui';

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text('Flutter Demo'),
        ),
        body: HomeContent(),
      ),
      theme: ThemeData(primarySwatch: Colors.yellow),
    );
  }
}

class HomeContent extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return ListView(
      padding: EdgeInsets.all(10),
      children: <Widget>[
        ListTile(
          leading: Icon(Icons.settings, color: Colors.yellow, size: 40),
          title: Text(
            'hahaha',
            style: TextStyle(fontSize: 24),
          ),
          subtitle: Text('hahahahahasds奥术大师大所大声道撒大声道是大萨达'),
        ),
        ListTile(
            leading: Icon(
              Icons.home,
            ),
            title: Text('hahaha'),
            subtitle: Text('hahahahahasds奥术大师大所大声道撒大声道是大萨达'),
            trailing: Icon(Icons.home)),
        ListTile(
          leading: Image.network(
              "https://t7.baidu.com/it/u=2557683545,3102908589&fm=74&app=80&f=JPEG&size=f121,121?sec=1880279984&t=2ebd3bc0d7a6e61dc9b22d1f7509042e"),
          title: Text('hahaha'),
          subtitle: Text('hahahahahasds奥术大师大所大声道撒大声道是大萨达'),
        ),
        ListTile(
          title: Text('hahaha'),
          subtitle: Text('hahahahahasds奥术大师大所大声道撒大声道是大萨达'),
        ),
        ListTile(
          title: Text('hahaha'),
          subtitle: Text('hahahahahasds奥术大师大所大声道撒大声道是大萨达'),
        ),
      ],
    );
  }
}
